package org.jeecg.modules.music.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.music.entity.MusCollectSonglist;
import org.jeecg.modules.music.mapper.MusCollectSonglistMapper;
import org.jeecg.modules.music.service.IMusCollectSonglistService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Slf4j
public class MusCollectSonglistServiceImpl extends ServiceImpl<MusCollectSonglistMapper, MusCollectSonglist> implements IMusCollectSonglistService {

    @Override
    @Transactional
    public void deleteCollect(String userId, String songlistId) {
        baseMapper.deleteCollect(userId,songlistId);
    }
}
